namespace Chaotic.DataBase.DBAccessLibrary.Model;

[Serializable]
public class IndexEntity : DataBaseEntity
{
	public string Sequence { get; set; }

	public string Remark { get; set; }

	public string TableName { get; set; }

	public string? ColumnName { get; set; }

	public bool IsUnique { get; set; }

	public IndexEntity(string? name)
		: base(name)
	{
	}

	public override DataBaseEntity? Copy()
	{
		IndexEntity? indexEntity = new IndexEntity(base.Name);
		indexEntity.Sequence = Sequence;
		indexEntity.Remark = Remark;
		IndexEntity? indexEntity2 = indexEntity;
		Copy(indexEntity2);
		return indexEntity2;
	}
}
